# $Id: PKGBUILD 66539 2012-02-26 00:04:59Z lfleischer $
# Maintainer: Jeff Mickey <j@codemac.net>
# Contributor: Jeff "codemac" Mickey <j@codemac.net>

pkgname=tdl
pkgver=1.5.2
pkgrel=5
pkgdesc="A to-do list manager."
arch=('i686' 'x86_64')
url="http://www.rc0.org.uk/tdl/"
license=('GPL')
depends=('ncurses')
source=("http://www.rpcurnow.force9.co.uk/tdl/$pkgname-$pkgver.tar.gz")
md5sums=('620cb00bf99b7e786e2b54cda6339a1e')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}
